package practice_04;

//数组工具类提供打印
public class ArrayUtil {
    public static void ArrayPrint(String[] s) {
        System.out.print("[");
        for (int i = 0; i < s.length; i++) {
            if (i == s.length - 1) {
                System.out.print(s[i] + "]");
            } else {
                System.out.print(s[i] + ",");
            }
        }
    }
}
